﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SaleOnlineSystem.Admin.Controls
{
    public partial class ListHuongdan : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                rpt_huongdanmuahang.DataSource = DAL.DCollector.DBCollector.Instance.StoredProcedureSelectByColumns("tbl_HuongDan", " * ", "selectbycolumns");

                rpt_huongdanmuahang.DataBind();
            }
            catch (Exception)
            {
                Response.Redirect("/error.htm");
            }           
        }
    }
}